home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-10-31 | 1.4 KB | 47 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\System\Find Files Dialog"
- "NAME"="Find Files Dialog Appearance"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "OSVERSION"="000001"
- "TEXT 1"="Use new Task-/Wizard-based search"
- "DESCRIPTION 1"="By default, Windows uses a task-based (aka Wizard-based) search dialog."
- "DESCRIPTION 2"="This dialog is good for new users, but might be too stupid for advanced users."
- "DESCRIPTION 3"="Activate this option to have the new task-based search or deactivate it to search using the old-school search dialog."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- 'Declaration of some constants
- sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState\Use Search Asst"
-
-
-
- 'Called when the Plugin is started
- SUB Plugin_Initialize
- s=RegReadValue(sV1)
- If s="yes" or IsEmpty(s) then SetUIElement 1,true
- END SUB
-
- 'Called when the Plugin should validate the Data the user has entered
- SUB Plugin_CheckData(ElementIndex)
- END SUB
-
- 'Called when the Plugin should apply the changes
- SUB Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- if RegValueExists(sV1) then Call RegDeleteValue(sV1)
- else
- Call RegWriteValue(sV1,"no",1)
- end if
- END SUB
-
-
- 'Called when the Plugin is about to be removed from memory
- SUB Plugin_Terminate
- END SUB
-